
public class GolesteC2 extends Operator {

	public Cana execute(Cana cc){
		Cana c = cc;
		c.setY(0);
		return c;
	}
	
	public boolean valabil(Cana c){
		boolean r = false;
		if((c.getY()>0) && (c.getY() <= 4))
			r = true;
		return r;
	}
}
